<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="/WEB-INF/pagetag.tld" prefix="page" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE HTML>
<html>
<!-- head -->
<head>
    <title>后台管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="<%=request.getContextPath()%>/resources/assets/css/dpl-min.css" rel="stylesheet"
          type="text/css"/>
    <link href="<%=request.getContextPath()%>/resources/assets/css/bui-min.css" rel="stylesheet"
          type="text/css"/>
    <link href="<%=request.getContextPath()%>/resources/assets/css/main-min.css" rel="stylesheet"
          type="text/css"/>
</head>

<body>
<!-- 头部 -->
<div class="header">
    <div class="dl-log">欢迎您，<span class="dl-log-user">${userInfo.userName}</span><a
            href="logout.do" title="退出系统" class="dl-log-quit">[退出]</a>
    </div>
</div>
<!-- 一级菜单 -->
<div class="content">
    <div class="dl-main-nav">
        <div class="dl-inform">
            <div class="dl-inform-title"><s class="dl-inform-icon dl-up"></s></div>
        </div>
        <ul id="J_Nav" class="nav-list ks-clear">
            <c:forEach items="${firstMenus}" var="menu">
                <li class="nav-item dl-selected">
                    <div class="nav-item-inner nav-order">${menu.menuName}</div>
                </li>
            </c:forEach>
        </ul>
    </div>
    <ul id="J_NavContent" class="dl-tab-conten"></ul>
</div>
<script type="text/javascript"
        src="<%=request.getContextPath()%>/resources/assets/js/jquery-1.8.1.min.js"></script>
<script type="text/javascript"
        src="<%=request.getContextPath()%>/resources/assets/js/bui-min.js"></script>
<script type="text/javascript"
        src="<%=request.getContextPath()%>/resources/assets/js/common/main-min.js"></script>
<script type="text/javascript"
        src="<%=request.getContextPath()%>/resources/assets/js/config-min.js"></script>

<!-- 菜单json -->
<script>
    BUI.use('common/main', function () {
        var config = ${data};
        new PageUtil.MainPage({
                                  modulesConfig: config
                              });
    });
</script>


</body>
</html>